package com.hybao.sync;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.apache.log4j.Logger;

public class TradeSyncTask {
	private String status;
	private TradeSyncService tradeSyncService; 
	private Logger log = Logger.getLogger(TradeSyncTask.class.getName());
	// task execute method
	public void doTask(){
		if("close".equals(status)){
			log.info("trade sync task is closed now"); 
			return;
		}
		List<Map<String,Object>> taskMapList = new ArrayList<Map<String,Object>>();
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public TradeSyncService getTradeSyncService() {
		return tradeSyncService;
	}

	public void setTradeSyncService(TradeSyncService tradeSyncService) {
		this.tradeSyncService = tradeSyncService;
	}
}
